import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        int [] arr=new int[]{5,2,3,1};
       // int [] arr1=Solution.sortArray(arr);
        Solution.sortArray(arr);
        System.out.println(Arrays.toString(arr));
    }
    public static void main1(String[] args) {
        int [] arr=new int[]{2,5,1,8,0,4,6,2};
        Sort.mergeSort1(arr);
        System.out.println("归并排序如下"+Arrays.toString(arr));
        int [] arr1=new int []{3,5,2,7,1,0,8,4,1};
        Sort.countSort(arr1);
        System.out.println("计数排序"+Arrays.toString(arr1));
    }
}
